import 'package:flutter/material.dart';
import 'package:flutter_syt/theme/theme_color.dart';

class LoginInputDecoration extends InputDecoration {
 const LoginInputDecoration({
    String hintText = '',
    Widget? prefixIcon,
    Widget? suffixIcon,
  }) : super(
          hintText: hintText,
          prefixIcon: prefixIcon,
          prefixIconConstraints:const BoxConstraints(minWidth: 0, minHeight: 0),
          suffixIcon: suffixIcon,
          counterText: '',

          hintStyle: const TextStyle(
            color:ThemeColor.colorTextB5,
            fontSize: 14,
            // fontWeight: FontWeight.bold,
          ),
          // focusColor: Colors.black,

          contentPadding:const EdgeInsets.symmetric(vertical: 10, horizontal: 15),
          enabledBorder:const OutlineInputBorder(
            borderRadius: BorderRadius.all(
              Radius.circular(8),
            ),
            borderSide: BorderSide(color: Colors.transparent),
          ),
          focusedBorder:const OutlineInputBorder(
            borderRadius: BorderRadius.all(
              Radius.circular(8),
            ),
            borderSide: BorderSide(color: Colors.transparent),
          ),
          errorBorder: InputBorder.none,
          errorStyle:const TextStyle(height: 0),
          focusedErrorBorder: InputBorder.none,
          filled: true,
          fillColor: ThemeColor.colorTextB7,
        );
}
